﻿@model UniversityCourses.Models.RegisterExternalLoginModel
@{
    ViewBag.Title = "Sign up";
    Layout = "~/Views/Shared/SiteLayout.cshtml";
    Html.EnableClientValidation();
}



<div class="login-form">
    <img src="../../Images/students.jpg" alt="students" />
    <div>
        @using (Html.BeginForm("ExternalLoginConfirmation", "Account", new { ReturnUrl = ViewBag.ReturnUrl }, FormMethod.Post, new { id = "onfirmationform", name = "onfirmationform" }))
        {
            @Html.ValidationSummary(true)

            <p>
                You've successfully authenticated with <strong>@ViewBag.ProviderDisplayName</strong>.
                Please enter a user name for this site below and click the Confirm button to finish
                logging in.
            </p>
    
            @Html.LabelFor(m => m.Email)
            @Html.TextBoxFor(m => m.Email)

            @Html.HiddenFor(m => m.ExternalLoginData)

            <a href="javascript:document.onfirmationform.submit();" name="provider">sign up</a>              
        }
    </div>
</div>